<%--顾赛男，增加用户 --%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>增加用户信息</title>

<link rel="stylesheet" type="text/css"
	href="../js/util/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="../js/util/easyui/themes/icon.css">

<script type="text/javascript"
	src="../js/util/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript"
	src="../js/util/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../js/index/textbox.api.js"></script>
</head>
<body>
	<form action="http://127.0.0.1:8080/Our12306/AdminServlet"
		method="post">
		<h2>管理员增加用户</h2>

		<div style="margin: 20px 0;"></div>
		<div class="easyui-panel" title="Add"
			style="width: 100%; max-width: 400px; padding: 30px 60px;">
			<table  width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
			<!-- 用户名 -->
			<div style="margin-bottom: 20px">
				<input class="easyui-textbox" label="UserName:" name="userName" data-options="validType:'userName'" prompt="只能是英语数字_和.且首字母必须是英文" 
					labelPosition="top" style="width: 100%; height: 52px">
			</div>
			<!-- 密码 -->
			<div style="margin-bottom: 20px">
				<input name="password" class="easyui-passwordbox" label="Password:" data-options="validType:'password'" prompt="密码必须包含大小写英文和数字空格"
					iconWidth="28" style="width: 100%; height: 34px; padding: 10px">
			</div>
			<!-- 权限 -->
			<div style="margin-bottom: 20px">
				<select class="easyui-combobox" name="Rule" label="Rule:"
					labelPosition="top" style="width: 100%;">
					<option value="管理员">管理员</option>
					<option value="普通用户">普通用户</option>
				</select>
			</div>
			<!-- 真实姓名 -->
			<div style="margin-bottom: 20px">
				<input name="RealName" class="easyui-textbox" label="RealName:"
					labelPosition="top" style="width: 100%; height: 52px">
			</div>
			<!-- 性别 -->
			<div style="margin-bottom: 20px">
				<span class="radioSpan" label="sex:"> <input type="radio"
					name="adminFlag" value="男">男 <input type="radio"
					name="adminFlag" value="女">女
				</span>
			</div>

			<!-- 城市 -->
			<div style="margin-bottom: 20px">
				<select id="province" class="easyui-combobox" name="Province"
					label="Province:" onchange="showChild()" labelPosition="top"
					style="width: 100%;">

				</select> <select id="city" class="easyui-combobox" name="City" label="City:"
					labelPosition="top" style="width: 100%;">

				</select>
			</div>
			<!-- 证件类型 -->
			<div style="margin-bottom: 20px">
				<select class="easyui-combobox" name="CertType" label="CertType:"
					labelPosition="top" style="width: 100%;">
					<option value="1">身份证</option>
					<option value="2">军官证</option>
					<option value="3">驾驶证</option>
				</select>
			</div>
			<!-- 证件号码 -->
			<div style="margin-bottom: 20px">
				<input name="cert" class="easyui-textbox" label="Cert:"
					labelPosition="top" style="width: 100%; height: 52px">
			</div>
			<!-- 生日 -->
			<!-- <div style="margin-bottom: 20px">
				<input id="birthday" name="birthday" class="easyui-datebox"
					label="Birthday:" labelPosition="top"
					data-options="formatter:myformatter,parser:myparser"
					style="width: 100%;">
			</div> -->
			</table>
			<div>
				<input type="submit"  class="easyui-linkbutton"
					iconCls="icon-ok" style="width: 100%; height: 32px">
				
			</div>
		</div>
	</form>

</body>
</html>